package cn.iocoder.yudao.module.project.controller.admin.electronicscalemanage.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 电子秤管理分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ElectronicScaleManagePageReqVO extends PageParam {

    @Schema(description = "绑定用户id", example = "16069")
    private Long userId;

    @Schema(description = "电子秤名称", example = "张三")
    private String name;

    @Schema(description = "ip")
    private String ip;

    @Schema(description = "port")
    private String port;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "电子秤状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;

}